package com.jzy.dao;

import com.github.pagehelper.Page;
import com.jzy.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealDao {
    public void add(Setmeal setmeal);

    public void setSetmealAndCheckGroup(Map<String, Integer> map);

    public Page<Setmeal> findByCondition(String queryString);

    public void deleteById(Integer setmealId);

    public long findCountBySetmealId(Integer setmealId);

    public void deleAssocication(Integer setmealId);

    public Setmeal QueryById(Integer id);

    public List<Integer> finCheckItemIdsByCheckGroupId(Integer id);

    public void edit(Setmeal setmeal);

    public List<Setmeal> findAll();

    public Setmeal findDetailById(int id);

    public List<Map<String,Object>> findSetmealCount();
}
